Make window scale changes work again
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Nov 2014 03:35:11 +0000 (22:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 4 Nov 2014 03:35:11 +0000 (22:35 -0500)
commit113e1d1dc004afcb2fc4220a85291f27ece6fb3c
tree7caa988e9e36406b4f9958a0392d48ea9e542ba6
parent824fa0314d76ce29292b0c2f99f91d2dd2c57b0b
Make window scale changes work again

Commit afd9709afff151e04b84b91c6d90b7 made us keep impl window
cairo surfaces around across changes of window scale. But the
window scale setter forgot to update the size and scale of the
surface. The effect of this was that toggling the window scale
from 1 to 2 in the inspector was not causing the window to draw
at twice the size, although the X window was made twice as big,
and input was scaled too. Fix this by updating the surface when
the window scale changes.
gdk/x11/gdkwindow-x11.c